﻿@model IEnumerable<eduscrum.ViewModels.UserStoryVM>

<h2>Sprint Backlog</h2>
<table>
    <tr>
        <td>Title</td>
        <td>Story Points</td>
    </tr>
    @foreach (var item in Model) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Title)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.StoryPoints)
            </td>
            <td>
                @Html.ActionLink("Edit", "Edit", new { id = item.UserStoryID }) |
                @Html.ActionLink("Details", "Details", new { id = item.UserStoryID }) |
                @Html.ActionLink("Delete", "Delete", new { id = item.UserStoryID })
            </td>
        </tr>
    }
</table>
